const EventEmitter = require('events').EventEmitter;

class jing extends EventEmitter {
  constructor() {
    super();
    setInterval(() => {
      this.emit('newlessons', { jing: 'zhu' });
    }, 2000)
  }
}

module.exports = jing